package org.mindrive.system.parameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "查询排序条件参数", description = "查询排序条件参数")
public class SearchSortParameter {

	@ApiModelProperty(value = "排序关键字")
	private String field = "";

	@ApiModelProperty(value = "升序")
	private boolean ascending = true;

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public boolean isAscending() {
		return ascending;
	}

	public void setAscending(boolean ascending) {
		this.ascending = ascending;
	}

}
